package edu.fdzc.system.mapper;

import edu.fdzc.system.entity.QuestionType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface QuestionTypeMapper {
    void add(QuestionType questionType);

    List<QuestionType> selectByName(String name);

    void updateById(QuestionType questionType);

    void deleteById(Integer id);

    QuestionType selectById(Integer id);

    List<QuestionType> selectAll(QuestionType questionType);
}
